package DataLayer.Model;

/**
 * keeps info about: Service.
 * 
 * @author Gruppe 4 - Dennis Biil, Brian Smed, Kristian Henriksen og Anders Engbo
 * @version 1.0
 */
public class Service
{
	private int serviceId;
	private String spil;
	private String model;
	private String malestandard;
	private double pris;
	private boolean synlig;

	/**
	 * Constructor
	 */
	public Service(
			String spil, String model, String malestandard, double pris,
			boolean synlig)
	{
		this.serviceId = -1;
		this.spil = spil;
		this.model = model;
		this.malestandard = malestandard;
		this.pris = pris;
		this.synlig = synlig;
	}

	/**
	 * Empty constructor
	 */
	public Service()
	{
		this.serviceId = -1;
		this.spil = null;
		this.model = null;
		this.malestandard = null;
		this.pris = 0;
		this.synlig = true;
	}

	/**
	 * Set and get.
	 */
	public int getServiceId()
	{
		return serviceId;
	}

	public void setServiceId(int serviceId)
	{
		this.serviceId = serviceId;
	}

	public String getSpil()
	{
		return spil;
	}

	public void setSpil(String spil)
	{
		this.spil = spil;
	}

	public String getModel()
	{
		return model;
	}

	public void setModel(String model)
	{
		this.model = model;
	}

	public String getMalestandard()
	{
		return malestandard;
	}

	public void setMalestandard(String malestandard)
	{
		this.malestandard = malestandard;
	}

	public double getPris()
	{
		return pris;
	}

	public void setPris(double pris)
	{
		this.pris = pris;
	}

	public boolean isSynlig()
	{
		return synlig;
	}

	public void setSynlig(boolean synlig)
	{
		this.synlig = synlig;
	}
}
